import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import getters from './getters.js'
import tabBar from './modules/tabBar.js'
import config from './../common/config.js'
const store = new Vuex.Store({
		state: {
			imgRoot: config.imgRoot, //图片资源根地址
		},
    modules: {
        tabBar
    },
    getters
})

export default store
